package com.yudedu.hospital.entity;

public class CaseHistery {
	private int id;
	private String branchCourts;
	private String disease;
	private String drug;
	private int payment;
	private String date;
	private int user_id;
	private User user;
	public User getUser() {
		return user;
	}
	public void setUser(User user) {
		this.user = user;
	}
	public CaseHistery(User user) {
		super();
		this.user = user;
	}
	public CaseHistery() {
		super();
	}
	public CaseHistery(int id, String branchCourts, String disease, String drug, int payment, String date,
			int user_id) {
		super();
		this.id = id;
		this.branchCourts = branchCourts;
		this.disease = disease;
		this.drug = drug;
		this.payment = payment;
		this.date = date;
		this.user_id = user_id;
	}
	public String getBranchCourts() {
		return branchCourts;
	}
	public String getDate() {
		return date;
	}
	public String getDisease() {
		return disease;
	}
	public String getDrug() {
		return drug;
	}
	public int getId() {
		return id;
	}
	public int getPayment() {
		return payment;
	}
	public int getUser_id() {
		return user_id;
	}
	public void setBranchCourts(String branchCourts) {
		this.branchCourts = branchCourts;
	}
	public void setDate(String date) {
		this.date = date;
	}
	public void setDisease(String disease) {
		this.disease = disease;
	}
	public void setDrug(String drug) {
		this.drug = drug;
	}
	public void setId(int id) {
		this.id = id;
	}
	public void setPayment(int payment) {
		this.payment = payment;
	}
	public void setUser_id(int user_id) {
		this.user_id = user_id;
	}
	@Override
	public String toString() {
		return "CaseHistery [id=" + id + ", branchCourts=" + branchCourts + ", disease=" + disease + ", drug=" + drug
				+ ", payment=" + payment + ", date=" + date + ", user_id=" + user_id + ", user=" + user + "]\n";
	}
	
	
}
